package com.fs.web.base.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.Setter;

/**
 * @author ACE
 * @desc 全局异常状态码（慎重修改，可以新增）
 * @creationTime 2019-03-08 11:00
 * @projectName gps-root
 * @packageName com.fs.base.enums
 */
@AllArgsConstructor
public enum CodeEnum {
    EX101(101,"登录超时，请重新登录！"),

    EX105(105,"帐号或密码为空"),

    EX106(106,"帐号或密码错误"),

    EX107(107,"该账号已被停用"),

    EX0(0,"操作成功"),

    EX400(400,"操作失败"),

    EX999(-1,"系统异常"),
    ;

    @Getter
    @Setter
    private Integer key;

    @Getter
    @Setter
    private String value;

}
